package com.ndood.qa;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import util.IdWorker;

/**
 * 1.2.25 进行测试 GET http://localhost:9003/problem/1
 * 1.2.36 进行测试 GET http://localhost:9003/problem/newlist/1/1/5
 * 1.2.37 进行测试 GET http://localhost:9003/problem/hotlist/1/1/5
 * 1.2.38 进行测试 GET http://localhost:9003/problem/waitlist/1/1/5
 */
/**
 * 1.2.23 修改Application
 */
@SpringBootApplication
public class QaApplication {

	public static void main(String[] args) {
		SpringApplication.run(QaApplication.class, args);
	}

	@Bean
	public IdWorker idWorkker(){
		return new IdWorker(1, 1);
	}
	
}
